cypress set timeout for locator

123

cypress set timeout for locator -

cy
  .get('.mobile-nav', { timeout: 10000 }) // 10 seconds
  .should('be.visible')

Comments

Submit
0 Comments